/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Simulation;

import java.util.*;
public class RandParam {
    private double val;
    private Random rnd = new Random();
    public RandParam(int min, int max) {
        val = (double)(min + rnd.nextInt(max - min + 1));
    }
    public RandParam(double min, double max) {
        val = min + rnd.nextDouble()*(max - min);
    }
    public int IntValue() {return (int)val;}
    public double DblValue() {return val;}
    
}
